﻿/************************************************************/
/*****              SqlDataProvider                     *****/
/*****                                                  *****/
/*****                                                  *****/
/***** Note: To manually execute this script you must   *****/
/*****       perform a search and replace operation     *****/
/*****       for {databaseOwner} and {objectQualifier}  *****/
/*****                                                  *****/
/************************************************************/

/** Drop FAQs Table **/

ALTER TABLE {databaseOwner}[{objectQualifier}YourCompany_ModuleName] DROP CONSTRAINT [FK_{objectQualifier}ModuleName_{objectQualifier}Modules]
GO

ALTER TABLE {databaseOwner}[{objectQualifier}YourCompany_ModuleName] DROP CONSTRAINT [PK_{objectQualifier}YourCompany_ModuleName]
GO

DROP INDEX {databaseOwner}[{objectQualifier}YourCompany_ModuleName].[IX_{objectQualifier}YourCompany_ModuleName]
GO

DROP TABLE {databaseOwner}[{objectQualifier}YourCompany_ModuleName]
GO

/** Drop Stored Procedures **/

DROP PROCEDURE {databaseOwner}[{objectQualifier}YourCompany_GetModuleNames]
GO

DROP PROCEDURE {databaseOwner}[{objectQualifier}YourCompany_GetModuleName]
GO

DROP PROCEDURE {databaseOwner}[{objectQualifier}YourCompany_AddModuleName]
GO

DROP PROCEDURE {databaseOwner}[{objectQualifier}YourCompany_UpdateModuleName]
GO

DROP PROCEDURE {databaseOwner}[{objectQualifier}YourCompany_DeleteModuleName]
GO

/************************************************************/
/*****              SqlDataProvider                     *****/
/************************************************************/